<?php

//防止恶意调用
if (!defined('IN_MOD'))
{
    die('Hacking attempt');
}

// 扩展默认模块配置
if($configinfo['configmodule'] == "list")
{
	include_once($configinfo['tplurl'].'/configmodule/configmodule/module/article/articlewhere.php');
}
if($configinfo['configmodule'] == "detail")
{
	include_once($configinfo['tplurl'].'/configmodule/configmodule/module/article/articlewhere_detail.php');
}

// 扩展条件公用模块配置
include_once($configinfo['tplurl'].'/configmodule/configmodule/module/configwhere.php');

// 扩展其它模块配置
if($tplmodulenamedir && $tplmodulenamefile && $configinfo['configmodule'] == "list")
{
	include_once($configinfo['tplurl'].'/configmodule/configmodule/module/'.$tplmodulenamedir.'/'.$tplmodulenamefile.'where.php');
}
if($tplmodulenamedir && $tplmodulenamefile && $configinfo['configmodule'] == "detail")
{
	include_once($configinfo['tplurl'].'/configmodule/configmodule/module/'.$tplmodulenamedir.'/'.$tplmodulenamefile.'where_detail.php');
}
?>